﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
    
        <table align="center" bgcolor="#CCCCCC" style="width: 20%; height: 180px;">
            <tr>
                <td colspan="4">
                    <asp:TextBox ID="txtHienThi" runat="server" BackColor="#99CCFF" 
                        Font-Size="Large" Height="41px" Width="204px" ReadOnly="True"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    <asp:Button ID="btnClear" runat="server" Height="38px" onclick="btnClear_Click" 
                        Text="Clr" Width="38px" />
                </td>
                <td>
                    <asp:Button ID="btnChia" runat="server" Height="38px" Text="/" Width="37px" 
                        onclick="btnChia_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn7" runat="server" Height="38px" Text="7" Width="37px" 
                        onclick="btn7_Click" />
                </td>
                <td>
                    <asp:Button ID="btn8" runat="server" Height="38px" Text="8" Width="37px" 
                        onclick="btn8_Click" />
                </td>
                <td>
                    <asp:Button ID="btn9" runat="server" Height="38px" Text="9" Width="37px" 
                        onclick="btn9_Click" />
                </td>
                <td>
                    <asp:Button ID="btnNhan" runat="server" Height="38px" Text="x" Width="37px" 
                        onclick="btnNhan_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn4" runat="server" Height="38px" Text="4" Width="37px" 
                        onclick="btn4_Click" />
                </td>
                <td>
                    <asp:Button ID="btn5" runat="server" Height="38px" Text="5" Width="37px" 
                        onclick="btn5_Click" />
                </td>
                <td>
                    <asp:Button ID="btn6" runat="server" Height="38px" Text="6" Width="37px" 
                        onclick="btn6_Click" />
                </td>
                <td style="font-weight: 700">
                    <asp:Button ID="btnTru" runat="server" Height="38px" Text="--" Width="37px" 
                        onclick="btnTru_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn1" runat="server" Height="38px" Text="1" Width="37px" 
                        onclick="btn1_Click" />
                </td>
                <td>
                    <asp:Button ID="btn2" runat="server" Height="38px" Text="2" Width="37px" 
                        onclick="btn2_Click" />
                </td>
                <td>
                    <asp:Button ID="btn3" runat="server" Height="38px" Text="3" Width="37px" 
                        onclick="btn3_Click" />
                </td>
                <td>
                    <asp:Button ID="btnCong" runat="server" Height="38px" Text="+" Width="37px" 
                        onclick="btnCong_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    <asp:Button ID="btn0" runat="server" Height="38px" onclick="btn0_Click" 
                        Text="0" Width="37px" />
                </td>
                <td>
                    <asp:Button ID="btnDot" runat="server" Height="38px" onclick="btn0_Click" 
                        Text="." Width="37px" />
                </td>
                <td>
                    <asp:Button ID="btnBang" runat="server" Height="38px" Text="=" Width="37px" 
                        onclick="btnBang_Click" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
